package cn.wp.org.domain;

import cn.wp.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 店铺类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain {
    // 店铺名
    private String name;
    // 电话
    private String tel;
    // 注册时间
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date registerTime = new Date();
    // 状态: 0 待审核  1待激活   2正常 -1 驳回
    private Integer state = 0;
    // 店铺地址
    private String address;
    // 公司logo
    private String logo;
    private Long admin_id;
    // 店长
    private Employee admin;
    // 驳回信息
    private String rejectContent;
}
